/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package py.una.pol.ejb.compraventa.dao;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import py.una.pol.pweb.compraventa.modelos.Pago;

/**
 *
 * @author claudia
 */
@Stateless
public class PagoDaoImpl implements PagoDao{
    
    
    @PersistenceContext
    private EntityManager entityManager;

    @Override
    public void add(Pago pago) {
        entityManager.persist(pago);
    }
    
}
